package com.gusto.engine.clusterant.access;

import java.util.List;

import com.gusto.engine.clusterant.algorithms.kmeansclustering.Cluster;

/**
 * <p>Data Access object for Clusters.</p>
 * 
 * @author amokrane.belloui@gmail.com
 *
 */
public interface ClusterDAO {
	
	/**
	 * Remove All Objects of the cluster
	 */
	public void removeAllObjects();
	
	/**
	 * Add an object to a cluster
	 * @param cluster
	 * @param row
	 * @param col
	 * @param object
	 */
	public void addObjectToCluster(int cluster, int row, int col, Object object);
	
	/**
	 * Get the current clusters
	 * @param cluster
	 * @param row
	 * @param col
	 * @param object
	 * @return
	 */
	public List<Cluster> getClusters(int cluster, int row, int col, Object object);
	
}
